#encoding=utf-8
import requests,time,urllib2
#url='http://mdwsw.5wanpk.com:8901/api/mzwsw/timing_task'
url='http://123.207.52.239:8090/api/mzwsw/timing_task'
#url='http://andytest.nvzhanshen.com:8086/api/mzwsw/timing_task'
def timing_task():
    #response = requests.get(url)
    response=urllib2.urlopen(url)
    data=response.read()
    #result = response.json()
    print data,'================'





while 1:
    timing_task()
    time.sleep(120)